Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure requests are not assuming the presence of file paths for entries #3030

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 9, 2025

Motivation

One more bug fix to include in the next release 😅. In #2941, we started indexing unsaved files. However, we didn't fix the requests that were assuming the presence of a file path in entries with T.must.

We need to handle the possibility of there not being a file path, so that we can account for entries in unsaved files.

Implementation

Fixed all of the occurrences I could find where we assumed the file path to be there.

Automated Tests

Added tests that reproduce each one of the bugs.

@vinistock vinistock added server This pull request should be included in the server gem's release notes bugfix This PR will fix an existing bug labels Jan 9, 2025 — with Graphite App
@vinistock vinistock requested a review from andyw8 January 9, 2025 15:10
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock requested a review from st0012 January 9, 2025 15:10
@vinistock vinistock marked this pull request as ready for review January 9, 2025 15:13
@vinistock vinistock requested a review from a team as a code owner January 9, 2025 15:13
@vinistock vinistock merged commit 792e727 into main Jan 9, 2025
43 checks passed
Copy link
Member Author

Merge activity

  • Jan 9, 11:27 AM EST: A user merged this pull request with Graphite.

@vinistock vinistock deleted the 01-09-ensure_requests_are_not_assuming_the_presence_of_file_paths_for_entries branch January 9, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants